from django.urls import re_path, path
from apps.room.consumers import MyConsumer, RoomConsumer, ChatConsumer, TestConsumer
from apps.ssh.consumers import SSHCmdConsumer

websocket_urlpatterns = [
    path(r'ws/my-websocket/<slug:room_id>/', MyConsumer.as_asgi()),
    path(r'ws/chat/', ChatConsumer.as_asgi()),
    path(r'ws/room/<slug:room_id>/', RoomConsumer.as_asgi()),
    path(r'ws/myview/<slug:param1>/<slug:param2>/', TestConsumer.as_asgi()),
    path(r'ws/ssh/<slug:id>/', SSHCmdConsumer.as_asgi()),
]
